import { createSlice } from "@reduxjs/toolkit"
const citySlice = createSlice({
  name: "citySlice",
  initialState: {
    city: "",
  },
  reducers: {
    setCitySlect(state, { payload }) {
      state.city = payload.city
    },
  },
})
export const { setCitySlect } = citySlice.actions
export default citySlice.reducer
